package main

import (
	"fmt"
	"strconv"
)

func main() {
	
	var num int = 19
	//  值，进制
	var str = strconv.FormatInt(int64(num), 10);
	fmt.Printf("str类型:%T, 值：%q \n", str, str)

	
	var num2 float64 = 3.14
	// 值，'f'（-ddd.dddd），保留小数点，类型 float64
	var str2 string = strconv.FormatFloat(num2, 'f', 10, 64);
	fmt.Printf("str2类型:%T, 值：%q \n", str2, str2)


	var flag bool = false
	var str3 string = strconv.FormatBool(flag)
	fmt.Printf("str3类型:%T, 值：%q \n", str3, str3)

}